home *** CD-ROM | disk | FTP | other *** search
Wildcat! WCX | 1996-03-15 | 1.1 KB | 93 lines |
- '! Decompiled with wccNosy version 4.20f (freeware)
- '! Input File: in.wcx 1133 bytes 03/05/125 02:14:32pm
- '! Code Segment Size :759 bytes
- '! Data Segment Size :4481 bytes
- '! String Segment Size:374 bytes
- '! Compiled with WCC version ? 019C017B
-
- Declare Sub Sub64
- Declare Sub Sub178
- Declare Sub Sub637
-
- Dim s4463 As String*1
- Dim i4464 As Integer
- Dim i4466 As Integer
- Dim s4468 As String*1
- Dim i4469 As Integer
- Dim i4471 As Integer
- Dim s4473 As String
- Dim s4477 As String
-
- Sub64
- Sub178
-
- '! Called 1 time
- Sub Sub64
- ActivityLog "Randomzier Program Executed"
- Open ProgPath + "random.cfg" For Input As 1
- Input #1, s4463
- Input #1, i4464
- Input #1, i4466
- Input #1, s4468
- Input #1, i4469
- Input #1, i4471
- Input #1, s4473
- Input #1, s4477
- Close 1
- End Sub
-
- '! Called 1 time
- Sub Sub178
- If UCase(s4463) = "I" Then
- If i4464 > i4469 Then
- i4464 = 1
- End If
- 234 If i4466 > i4471 Then
- i4466 = 1
- End If
- 259 Else
- 265 If UCase(s4463) = "R" Then
- i4469 = i4469 + 1
- Do
- 301 i4464 = Int(Rnd(1) * i4469)
- Loop While i4464 = 0
- i4471 = i4471 + 1
- Do
- 353 i4466 = Int(Rnd(1) * i4471)
- Loop While i4466 = 0
- End If
- End If
- 391 CopyFile(s4473 + "prelog" + Str(i4464) + ".bbs", s4477 + "prelog.bbs")
- i4464 = i4464 + 1
- If UCase(s4468) = "Y" Then
- CopyFile(s4473 + "goodby" + Str(i4466) + ".bbs", s4477 + "goodbye.bbs")
- ActivityLog "PRELOG and GOODBYE.BBS files were updated by Randomizer."
- i4466 = i4466 + 1
- Else
- 541 If UCase(s4468) = "N" Then
- ActivityLog "PRELOG file was updated by Randomizer."
- End If
- End If
- 571 If UCase(s4463) = "I" Then
- Sub637
- End If
- 599 Print "@CLS@@0E@Randomizer v1.3 (C) Copyright 1995, 96 Sapphire Software"
- Print "Support BBS ■ @0B@T@09@he @0B@C@09@oral @0B@R@09@eef@0E@ ■ " + "(517) 894-0729@0E@"
- Print
- Delay 1
- End Sub
-
- '! Called 1 time
- Sub Sub637
- Open ProgPath + "random.cfg" For Output As 2
- Print #2, s4463
- Print #2, i4464
- Print #2, i4466
- Print #2, s4468
- Print #2, i4469
- Print #2, i4471
- Print #2, s4473
- Print #2, s4477
- Close 2
- End Sub
-